﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：词典表管理
  //创建人：赵国伟
  //生成时间：2012/04/06 0:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class Manage_DictionariesManage : BaseManagePage
{
    protected string category = "";
    protected string status = "";
    protected AsPage p = new AsPage();
    protected string SelectOptionOfDictionary = "";
    protected List<Dictionaries> listOfDict;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            category = Utility.G("Category");
            status = Utility.G("Status");
            p.CurPage = Utility.G<int>("CurPage");
            if (p.CurPage <= 0) p.CurPage = 1;
               
            SelectOptionOfDictionary = Utility.GetEnumToSelectOption<DictionaryCategory>(category);
            DictionariesManage bllDict = new DictionariesManage();
            listOfDict = bllDict.QueryListAsPage(category, status, p);

        }
    }




}